package xyz.zhno.factory.method.factory.impl;

import xyz.zhno.factory.method.car.Car;
import xyz.zhno.factory.method.car.impl.Tesla;
import xyz.zhno.factory.method.factory.CarFactory;

/**
 * Tesla工厂
 * @author zh_o
 * @date 2020-11-14
 */
public class TeslaFactory implements CarFactory {

    @Override
    public Car getCar() {
        return new Tesla();
    }

}
